﻿using MyX.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyX.Message
{
    public class XEvent : XMessage
    {
        public XEvent() : base()
        {
            XSenderID = Guid.Empty;            
        }
        

        /// <summary>
        /// 事件源ID
        /// </summary>
        public Guid XSenderID { get; set; }


        /// <summary>
        /// 版本号
        /// </summary>
        [XVaildVersion]
        public long Version { get; set; }
    }
}
